package com.sky.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author GHOSTER by RemSynch
 * @since 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WalletsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    /**
     * 绑定的主账号id
     */
    private Long accountAId;

    private BigDecimal balance;

    private BigDecimal frozenAmount;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    /**
     * 0激活 1禁用
     */
    private Integer status;

    private String userName;

    private String phone;
}
